import instance from "./instance";
//车票
export const getCp = (data) => instance.post("/api/trip/train/", data);
//车票详情、
export const getCplist = (data) =>
  instance.get("/api/trip/train/"+data.id,{
    params: {
      start: data.start,
      end: data.end,
    },
  });
